<template>
  <div>
    <template v-for="(item, index) in names" :key="index">
      <slot :item="item" :index="index"></slot>
      <slot name="pengfan"></slot>
    </template>
  </div>
</template>

<script>
export default {
  props: {
    names: {
      type: Array,
      default: () => ["pengfan", "pengyutong", "zhouhuiyun"],
    },
  },
};
</script>

<style scoped></style>
